package ai.people.netmon.framework.domain.archives.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhenglin
 * @since 2022-04-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(schema = "webservice")
public class PersonArchivesEdges implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @TableId
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long id;

    /**
     * edge说明
     */
    private String edgeName;

    /**
     * edge code
     */
    private String edgeCode;

    /**
     * 创建时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /**
     * 修改时间
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**
     * 创建用户id
     */
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long creatorId;
    /**
     * 启用 1:启用 0:禁用
     */
    private Integer enable;
    /**
     * 1-档案主题 2-触角（或其他类型）
     */
    private Integer type;

}
